From: Wei Liu Date: Tue, 7 May 2013 14:54:44 +0000 (+0200) Subject: netif: define XEN_NETIF_MAX_TX_SIZE in public header X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~6908 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=df76bf093ee29324b57267154232d0d792c8de43;p=xen.git netif: define XEN_NETIF_MAX_TX_SIZE in public header This is the maximum supported size of a packet. It comes from the size of netif_tx_request.size. Signed-off-by: Wei Liu Acked-by: Ian Campbell Acked-by: Keir Fraser --- diff --git a/xen/include/public/io/netif.h b/xen/include/public/io/netif.h index b184e49ef1..ccde53b3af 100644 --- a/xen/include/public/io/netif.h +++ b/xen/include/public/io/netif.h @@ -65,6 +65,7 @@ #define _NETTXF_extra_info (3) #define NETTXF_extra_info (1U<<_NETTXF_extra_info) +#define XEN_NETIF_MAX_TX_SIZE 0xFFFF struct netif_tx_request { grant_ref_t gref; /* Reference to buffer page */ uint16_t offset; /* Offset within buffer page */